package com.lahuan.config.integration;

import com.lahuan.demo.entity.Order;
import org.springframework.integration.annotation.MessagingGateway;
import org.springframework.stereotype.Component;

/**
 * Spring Integration网关入口
 */
@Component
@MessagingGateway(defaultRequestChannel = "registerChannel")
public interface RegisterMessageGateway {
    /**
     * 注册通知流程
     *
     * @param order
     */
    void registerMessageFlow(Order order);
}

